<?php

namespace IDock\Insurance\HBIC\Request;

use IDock\Http\RequestFormat;
use IDock\Insurance\HBIC\Response\HBICTokenResponse;

/**
 * 获取恒邦token接口
 */
class HBICTokenRequest extends AllHBICRequest
{
    protected $response = HBICTokenResponse::class;

    protected $urlTip = '获取恒邦token接口';

    protected $format = RequestFormat::JSON;

    public $requestType = 'token';
    public $requestUrl = 'api/authenticate';

    public $username = '';
    public $password = '';

    public function generate(): array
    {
        return [
            'username' => $this->username,
            'password' => $this->password,
        ];
    }




}
